<!--跨组件监听-->
<template>
    <div>
        <p>请填写邮件</p>
        <input type="text" v-model.trim="info.email">
        <child :email="info.email"></child>
    </div>
</template>

<script>
    import child from "@/views/vue_base_test/watch_test/child";
    export default {
        name: "father",
        components:{
            child
        },
        data(){
            return{
                info:{
                    email:''
                }
            }
        }
    }
</script>

<style scoped>

</style>